package com.bd.scm.module.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bd.scm.domain.dto.user.PersonnelFilesDto;
import com.bd.scm.domain.models.user.TransferUser;
import com.bd.scm.domain.models.user.UserVacation;

import java.util.List;

public interface TransferUserService {
    /**
     * 查询临时调动信息
     * @param page,transferUser
     * @return
     */
    IPage<TransferUser> transferUserList(Page<TransferUser> page, TransferUser transferUser);

    /**
     * 临时调动
     * @param j
     * @param clientIp
     * @return
     */
    int addLoanInfo(TransferUser j, String clientIp);

    /**
     * 获取昨天的永久调用部门数据
     * @return
     */
    List<TransferUser> findBdTemporaryLoanList();

    /**
     * 导出
     * @return
     */
    List<TransferUser> transferUserList2(TransferUser transferUser);
}
